<template>
  <el-button v-if="isShow" :class="className">{{label}}</el-button>
</template>

<script setup lang="ts">
import {ElButton} from "element-plus";
import {defineProps} from "vue";

defineProps(
    {
      label: {
        type: String,
        default: '按 钮'
      },
      className: {
        type: String,
        default: ''
      },
      isShow: {
        type: Boolean,
        default: true
      }
    }
)
</script>
